package com.example.demo;

import lombok.Data;

@SuppressWarnings("unused")
@Data
public class ResultResponse <T>{
    private T data;
    private Integer code;
    private String message;

    public ResultResponse(T data, Integer code, String message) {
        this.data = data;
        this.code = code;
        this.message = message;
    }

    public ResultResponse(T data) {
        this.data = data;
    }

}
